package com.financing.platform.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.platform.dto.OrderTmpDTO;
import com.financing.platform.vo.EmailTemplateUserVO;

public interface IOrderTmpDao extends IBaseDao {
	/**
	 * 
	 * @Title: queryOrderTmpList
	 * @Description: 查询快速预约订单 
	 * @param @param orderDTO
	 * @param @return   
	 * @return List<OrderTmpDTO>   
	 * @throws
	 */
	public List<OrderTmpDTO> queryOrderTmpList(OrderTmpDTO orderTmpDTO ) throws Exception;
	
	/**
	 * 
	 * @Title: queryOrderTmpByProidList
	 * @Description: 查询快速预约订单  根据产品id
	 * @param @param orderDTO
	 * @param @return   
	 * @return List<HashMap<String, String>> 
	 * @throws
	 */
	public List<Map<String, Object>> queryOrderTmpByProidList(OrderTmpDTO orderTmpDTO ) throws Exception;
	/**
	 * 
	 * @Title: countOrderTmpByProidList
	 * @Description: count查询快速预约订单  根据产品id
	 * @param @param orderDTO
	 * @param @return   
	 * @return List<HashMap<String, String>> 
	 * @throws
	 */
	public int countOrderTmpByProidList(OrderTmpDTO orderTmpDTO ) throws Exception;
	/**
	 * 
	 * @Title: queryOrderTmpCount
	 * @Description: 查询快速预约订单总数 
	 * @param @param orderTmpDTO
	 * @param @return
	 * @param @throws Exception   
	 * @return int   
	 * @throws
	 */
	public int queryOrderTmpCount(OrderTmpDTO orderTmpDTO) throws Exception;
	
	/**
	 * 
	 * @Title: updateOrderTmp
	 * @Description: 更新快速预约订单状态 
	 * @param @param orderTmpDTO
	 * @param @return
	 * @param @throws Exception   
	 * @return int   
	 * @throws
	 */
	public int updateOrderTmp(OrderTmpDTO orderTmpDTO) throws Exception;
	
	
	/**
	 * 
	 * @Title: queryFaOrderPerTmpForEmail
	 * @Description: 查询临时订单发送邮件 
	 * @param @return
	 * @param @throws SQLException   
	 * @return List<EmailTemplateUserVO>   
	 * @throws
	 */
	public List<EmailTemplateUserVO> queryFaOrderPerTmpForEmail() throws SQLException;
	
	/**
	 * 根据私募订单查询私募信息
	 * @param orderTmp
	 * @return
	 * @throws SQLException
	 */
	public List<OrderTmpDTO> queryInfoByOrderTmpIds(String orderTmpIds) throws SQLException;
}
